package com.example.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.order.entity.Order;

import java.math.BigDecimal;

public interface OrderService extends IService<Order> {
    Order createOrder(Long userId, BigDecimal amount);
    Order getOrderByOrderNo(String orderNo);
}
